home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / allfiles / move / move.dir / 00004.ls < prev    next >
Encoding:
Text File  |  1999-03-05  |  1.5 KB  |  51 lines

  1. on stopMovie
  2.   puppetSprite(15, 0)
  3. end
  4.  
  5. on keyDown
  6.   if the key = "q" then
  7.     puppetSprite(15, 0)
  8.     go("end")
  9.   end if
  10. end
  11.  
  12. on startMovie
  13.   global currentpage, currentproject, loop2var, loop2var2, currentmsg
  14.   set the cursor of sprite 17 to [73, 74]
  15.   set the cursor of sprite 20 to [73, 74]
  16.   set the cursor of sprite 102 to [73, 74]
  17.   set the cursor of sprite 103 to [73, 74]
  18.   set the cursor of sprite 115 to [73, 74]
  19.   set currentpage to 59
  20.   set currentproject to 59
  21.   set currentmsg to 0
  22. end
  23.  
  24. on gotoPage number, project, webPage
  25.   global currentproject, currentpage
  26.   set currentproject to number
  27.   set the member of sprite 105 to project
  28.   set the member of sprite 15 to member string(line currentpage of field "pages")
  29. end
  30.  
  31. on showmousedown rolloversprite
  32.   global currentproject, currentpage
  33.   set the locH of sprite 21 to the locH of sprite rolloversprite
  34.   set the member of sprite 105 to line currentproject of field "project"
  35. end
  36.  
  37. on showrollover rolloversprite
  38.   set the locH of sprite 20 to the locH of sprite rolloversprite
  39.   set the member of sprite 105 to line rolloversprite of field "project"
  40. end
  41.  
  42. on buttonclick whichsprite
  43.   global currentproject, currentpage
  44.   set the locH of sprite 20 to -50
  45.   set the locH of sprite 21 to the locH of sprite whichsprite
  46.   set currentproject to whichsprite
  47.   set currentpage to whichsprite
  48.   set the member of sprite 105 to line currentproject of field "project"
  49.   gotoPage(currentproject, line currentproject of field "project", line currentpage of field "pages")
  50. end
  51.